const dgram = require('dgram')

const message = new Buffer('hello nodejs')
const client = dgram.createSocket('udp4')

client.send(message,0,message.length,4123, 'localhost',function (err, bytes){
    client.close()
})
